package com.eascs.o2o.recruit.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name="feedback")
public class FeedbackEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Column(name = "id")
	@Id
	private String id;
	
	/**
	 * 用户姓名
	 * */
	@NotEmpty(message = "用户姓名不能为空")
	private String uname;
	
	/**
	 * 联系方式
	 * */
	@NotEmpty(message = "联系方式不能为空")
	private String mobile;
	
	/**
	 * 省
	 * */
	private String province;
	/**
	 * 市
	 * */
	private String area;
	
	/**
	 * 意见
	 * */
	@NotEmpty(message = "意见不能为空")
	@Column(name = "feedback_desc")
	private String feedbackDesc;
	
	
	/**
	 * 创建时间
	 * */
	@Column(name = "create_time")
	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime;


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getUname() {
		return uname;
	}


	public void setUname(String uname) {
		this.uname = uname;
	}


	public String getMobile() {
		return mobile;
	}


	public void setMobile(String mobile) {
		this.mobile = mobile;
	}


	public String getProvince() {
		return province;
	}


	public void setProvince(String province) {
		this.province = province;
	}


	public String getArea() {
		return area;
	}


	public void setArea(String area) {
		this.area = area;
	}


	public String getFeedbackDesc() {
		return feedbackDesc;
	}


	public void setFeedbackDesc(String feedbackDesc) {
		this.feedbackDesc = feedbackDesc;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
	
	
}
